class baseA:
    def __init__(self, value):
        self.value = value
        print(f"baseA init {value}")

    def get_value(self):
        return self.value


class baseB:
    def __init__(self, value):
        self.value = value
        print(f"baseB init {value}")

    def get_value(self):
        return self.value


class extendC(baseA, baseB):
    def __init__(self, a, b):
        baseA.__init__(self, a)
        baseB.__init__(self, b)

    def get_value(self):
        print("baseA get_value:",baseA.get_value(self))
        print("baseB get_value:",baseB.get_value(self))


extend = extendC(2, 3)
extend.get_value()
